@import './icofont.min.css';
@import './icofont.admin.min.css';
@import './icofont.admin.2.min.css';

html,
body,
div,
p,
table,
tr,
td,
ul,
ul li,
input,
img,
h1,
h2,
h3,
h4,
h5,
span,
i,
article,
select,
select option,
section,
header,
textarea,
br,
hr,
dl,
dl dd,
dl,
dt {
    margin: 0;
    padding: 0
}

body {
    color: #303133;
    font-size: 1.6rem;
    background: #f1f4f6;
    font-family: "Microsoft YaHei", "SimSun", sans-serif;
}

html,
body,
img {
    border: 0
}

a,
a:hover,
a:link,
a:visited {
    color: inherit;
    text-decoration: none;
}

textarea {
    box-sizing: border-box;
    outline: none;
}

html {
    font-size: 62.5%;
    height: 100%;
    scroll-behavior: smooth;
    @extend %scroll-bar;
}

input,
select {
    outline: none;
}

.div {
    box-sizing: border-box;
}

.clear {
    &:after {
        content: '';
        clear: both
    }

    &:before {
        content: '';
        clear: both
    }
}

input {
    outline: transparent;
}

::-webkit-selection {
    background: #99CCFF
}

::-moz-selection {
    background: #99CCFF
}

::-ms-selection {
    background: #99CCFF
}

::selection {
    background: #99CCFF
}

.container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 4rem 5rem 2rem 5rem;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, .9);
    position: relative;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.empty-data {
    color: #666;
    text-align: center;
    letter-spacing: .1rem;

    &:before {
        font-family: IcoFont;
        font-size: 1.5rem;
        content: "\efac";
        padding-right: .7rem;
    }
}

.not-fond {
    text-align: center;
    color: #7f828b;
    font-size: 1.5rem;
}

.font-size-15 {
    font-size: 1.5rem;
}

.font-size-14 {
    font-size: 1.4rem;
}

.font-size-20 {
    font-size: 2rem;
}

#__nuxt,
#__layout {
    position: relative;
    height: 100%;
}

.pointer-cursor {
    cursor: pointer;
}

.inline-block {
    display: inline-block;
}

.block {
    display: block !important;
}

.color-black {
    color: #333 !important;
}

.relative-position {
    position: relative;
}

.absolute-position {
    position: absolute;
}

.display-none {
    display: none;
}

.display-inline-block {
    display: inline-block;
}

.btn-disable {
    opacity: .6;
    cursor: not-allowed;
}

.btn {
    @extend %base-btn;
}

.btn-enable {
    @extend %base-btn;
    @extend %btn;
}

.btn-danger {
    @extend %btn-danger;
}

.btn-green-fade {
    @extend %base-btn;
    background-color: #a7eb85;
    color: #fff !important;

    &:hover {
        background-color: #c4ebb1;
    }

    &:active {
        background-color: #8ee761 !important;
    }
}

.link-btn-primary {
    transition: color .3s;
    color: #6292e6 !important;

    &:hover {
        color: #8dace2 !important;
    }

    &:active {
        color: #2066e0 !important;
    }
}

.link-btn-danger {
    transition: color .3s;
    color: #f56c6c !important;

    &:hover {
        color: #f18181 !important;
    }

    &:active {
        color: #f34a4a !important;
    }
}

.link-btn-warning {
    transition: color .3s;
    color: #e6a23c !important;

    &:hover {
        color: #e7b161 !important;
    }

    &:active {
        color: #e49622 !important;
    }
}

.link-btn {
    transition: color .3s;
    color: #46484d;

    &:hover {
        color: #676a72;
    }

    &:active {
        color: #202124;
    }
}

.overflow-hidden {
    overflow: hidden;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.text-align-left {
    text-align: left !important;
}

.text-align-right {
    text-align: right !important;
}

.text-align-center {
    text-align: center !important;
}

.display-inline {
    display: inline;
}

.display-inline-block {
    display: inline-block;
}

.text-no-wrap {
    white-space: nowrap;
    word-wrap: break-word;
}

.orange-color {
    color: #ffad33
}

.gray-color {
    color: rgb(121, 119, 119);
}

.color-blue {
    color: $blue;
}

.flex {
    display: flex;
}

.sub-container {
    padding: 2rem;
    height: fit-content;
    border-radius: .5rem;
    background-color: #fff;
}

.mt-4 {
    margin-top: 4rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-min {
    margin-bottom: 1.2rem;
}

.mt-min {
    margin-top: 1.2rem !important;
}

.mr-min {
    margin-right: 1.2rem;
}

.mr-middle {
    margin-right: 2.4rem;
}

.ml-min {
    margin-left: 1.2rem;
}

.max-width {
    width: 100%;
    ;
}

.with-fit-content {
    width: fit-content;
}

.bolder {
    font-weight: bolder;
}

.forbidden-btn {
    opacity: .7;
    cursor: not-allowed;
}

.error {
    color: $red;
    font-size: 1.4rem;
}

.card {
    border-radius: .5rem;
    box-shadow: 0 0.46875rem 2.1875rem rgba(4, 9, 20, 0.03), 0 0.9375rem 1.40625rem rgba(4, 9, 20, 0.03), 0 0.25rem 0.53125rem rgba(4, 9, 20, 0.05), 0 0.125rem 0.1875rem rgba(4, 9, 20, 0.03);
}

.git {
    color: #6292e6;
    margin-right: 1.7rem;
    background-image: url("");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
}

.wechat {
    background-image: url("");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
}

.qq {
    margin-left: 1.7rem;
    background-image: url("");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
}

.fade {
    color: #c6c6c6;
    font-size: 1.2rem;
}

.required-feild {
    &::before {
        content: '*';
        color: #f56c6c;
        margin-right: .3rem;
    }
}

// 404 401错误页面样式
.error-page {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #fff;
}

.error-page-image {
    width: 50%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}

.error-page-content {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.8rem;
    font-weight: bold;

    p {
        margin-bottom: 1.5rem;

        &:nth-of-type(2) {
            font-weight: normal;
            font-size: 1.4rem;
        }
    }

    span {
        border-bottom: 0.1rem solid #666;
        padding-bottom: 1rem;
    }
}

.help-tag {
    $dimension: 1.3rem;
    background-image: url('./images/question-circle.svg');
    display: inline-block;
    width: $dimension;
    height: $dimension;
    background-size: cover;
}